<%@page import="com.entity.UserInfo"%>
<%@page import="com.biz.ProductBizImpl"%>
<%@page import="com.entity.Product"%>
<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>增加地址</title>
    
	<meta charset="UTF-8">
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta name="content-type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="css/modle.css">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css">
	</style>
	<script src="js/jquery-1.12.4.js"></script>
	<script type="text/javascript">		
		$(function(){
			$("input[name='country']").focus(function(){
				var key=$(this).val();
				if(key=="中国"){
					var key=$(this).val("");
				}
			});
			$("input[name='country']").blur(function(){
				var key=$(this).val();
				if(key==""){
					var key=$(this).val("中国");
				}
			});
		});
	</script>
  </head>
  
  <body class="mybody">
  	<div class="main">
  		<div class="index-title">
  			<iframe src="index-b-elem/header.jsp" frameborder="0" id="title-if"></iframe>
  		</div>
	    <div class="main-body-div">
	    	<form action="user/address" method="post">
	    		<input type="hidden" name="act" value="add"/>
	    		联系人：<input type="text" name="contacts"/><br>
	    		联系电话：<input type="text" name="phone"/><br>
	    		国家：<input type="text" name="country" value="中国" placeholder="中国"/><br>
	    		省份：<input type="text" name="province"/><br>
	    		城市：<input type="text" name="city"/><br>
	    		县(市)/区：<input type="text" name="area"/><br>
	    		详细地址：<input type="text" name="address"/><br>
	    		<input type="submit" value="增加"/>
	    	</form>
		</div>
		<div class="index-footer">
  			<iframe src="index-b-elem/footer.jsp" frameborder="0" id="title-if"></iframe>
  		</div>
   	</div>
  </body>
</html>
<jsp:include page="../mybrowse.jsp"></jsp:include>